const files = require.context('./modules', false, /.js$/)

const mocks = {}

files.keys().forEach(key => {
    mocks[files(key).default] = files(key).default || files(key)
})

export default mocks